package com.fjwt.gz.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjwt.gz.db.dto.ScoreRecordDTO;
import com.fjwt.gz.db.entity.ScoreTotalEntity;
import com.fjwt.gz.db.vo.ScoreRecord00VO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员积分总表 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface ScoreTotalMapper extends BaseMapper<ScoreTotalEntity> {

    /**
     * 获取用户的总积分
     * @param fansId
     * @return
     */
    ScoreTotalEntity selectByFansId(@Param("fansId") Long fansId, @Param("appId") String appId);
}
